package com.yunshang.shoppingmall.mapper;

import com.yunshang.shoppingmall.entity.IndexProduct;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface IndexProductMapper {
    int insert(IndexProduct record);

    int insertSelective(IndexProduct record);

    List<IndexProduct> selectProductListByActiveSignAndProductUpState(IndexProduct indexProduct);

    List<IndexProduct> selectProductListByRJClassIdAndUpState(IndexProduct indexProduct);
}